首页> 外文OA文献 >Zero-Downtime SQL Database Schema Evolution for Continuous Deployment
【2h】

Zero-Downtime SQL Database Schema Evolution for Continuous Deployment

机译:零停机SQL数据库架构演进,实现持续部署

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

When a web service or application evolves, its database schema --- tables, constraints, and indices --- often need to evolve along with it. Depending on the database, some of these changes require a full table lock, preventing the service from accessing the tables under change. To deal with this, web services are typically taken offline momentarily to modify the database schema. However with the introduction of concepts like Continuous Deployment, web services are deployed into their production environments every time the source code is modified. Having to take the service offline --- potentially several times a day --- to perform schema changes is undesirable. In this paper we introduce QuantumDB --- a middleware solution that abstracts this evolution process away from the web service without locking tables. This allows us to redeploy a web service without needing to take it offline even when a database schema change is necessary. In addition QuantumDB puts no restrictions on the method of deployment, supports schema changes to multiple tables using changesets, and does not subvert foreign key constraints during the evolution process. We evaluate QuantumDB by applying 19 synthetic and 81 industrial evolution scenarios to our open source implementation of QuantumDB. These experiments demonstrate that QuantumDB realizes zero-downtime schema evolution at the cost of acceptable overhead, and is applicable in industrial Continuous Deployment contexts.
机译:当Web服务或应用程序发展时,其数据库模式(表,约束和索引)通常需要随之发展。根据数据库的不同,其中一些更改需要完全表锁定,以防止服务访问正在更改的表。为了解决这个问题,通常会使Web服务暂时脱机以修改数据库架构。但是,随着诸如持续部署之类的概念的引入,每次修改源代码时,Web服务都会部署到其生产环境中。不得不使服务脱机(可能一天要脱机几次)来执行架构更改是不希望的。在本文中,我们介绍了QuantumDB(一种中间件解决方案),该解决方案从Web服务中抽象了这一演变过程,而无需锁定表。这样,即使需要更改数据库架构,我们也可以重新部署Web服务而无需使其脱机。此外,QuantumDB对部署方法没有任何限制,支持使用变更集对多个表进行架构更改,并且在演进过程中不会破坏外键约束。我们通过将19种综合和81种工业演进方案应用于我们的QuantumDB开源实现来评估QuantumDB。这些实验表明,QuantumDB以可接受的开销为代价实现了零停机模式的演变,并适用于工业持续部署环境。

著录项

  • 作者

    De Jong, M. (author);

  • 作者单位
  • 年度 2015
  • 总页数
  • 原文格式 PDF
  • 正文语种 en
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号